from django.urls import path

from vehicle.consumers import CC4, PC4

websocket_urlpatterns = [
    # path("test", Test.as_asgi()),
    # 也可以使用正则路径,这种方式用在群组通信当中
    # re_path('ws/chat/(?P<group>\w+)/$',VehicleState.as_asgi())
    path("vehicle/cc4", view=CC4.as_asgi()),
    path("vehicle/pc4", view=PC4.as_asgi()),
]
